package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
//页面
@Data
@AllArgsConstructor
@NoArgsConstructor
public class HouseQueryVo {
    /**
     * ID
     */
    private String houseId;
    /**
     * 地址
     */
    private String address;
    /**
     * 标题
     */
    private String houseTitle;
    /**
     * 面积
     */
    private float area;
    /**
     * 租金
     */
    private Integer lentMoney;
    /**
     * 房型
     */
    private String houseType;
    /**
     * 出售类型：0出租 1售卖
     */
    private int sell;

    /**
     * 状态 0待审核 1正常 2下架  3违规
     */
    private int states;

    private String userName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

}
